<include file="../Public/header" />
<style>
.container {
  width: 960px;
  height: 302px;
}
.col {
  float: left;
  width: 240px;
  height: 300px;
  border: 1px solid #cdcdcd;
  margin-right: 30px;
  overflow: auto;
}
.move-btns {
  float: left;
  width: 60px;
  height: 302px;
  padding: 100px 15px;
}
.move-btns button {
  margin-top: 20px;
}
</style>
<script data-main="__PUBLIC__/admin/js/page/cms/block/addblock_content" src="__PUBLIC__/admin/js/lib/requirejs/require.js"></script>
</head>

<body>
  <div class="page">
    <div class="page-hd">
      <h1>添加区块内容</h1>
    </div>

    <div class="form">
      <input type="hidden" name="block_id" id="block_id" value="{$id}" />
      <input type="hidden" name="tid" id="tid" value="{$tid}" />
      <input type="hidden" name="cid" id="cid" value="{$cid}" />
      <div class="container">
        <div class="col">
          <ul id="treeDemo" class="ztree"></ul>
        </div>
        <div id="showtree">
          <div class="col">
            <ul id="treeDemo2" class="ztree"></ul>
          </div>
          <div class="move-btns">
            <button id="J_moveLeft">&gt;&gt;&gt;</button>
            <br />
            <button id="J_moveRight">&lt;&lt;&lt;</button>
          </div>
          <div class="col">
            <ul id="treeDemo3" class="ztree"></ul>
          </div>
        </div>
      </div>

      <div class="actions">
        <input class="btn btn-y" type="button" id="J_add" style="display: none;" value="添加" />
        <input class="btn btn-n" type="button" value="取消" onclick="javascript:window.location.href='{:URL('cms/Block/ajax_show',array('type'=>'block', 'id'=>$id, 'tid' => $tid, 'cid' => $cid))}'" />
      </div>
    </div>
  </div>
</body>

</html>
